package com.dx.common.table.ppt;

/**
 * Bis_pamId entity. @author MyEclipse Persistence Tools
 */

public class Bis_pamId implements java.io.Serializable {

	// Fields    

	private String tool_id_fk;
	private String mdl_id_fk;
	private String path_id_fk;
	private String path_ver_fk;
	private String ope_no_fk;
	private String ope_id_fk;
	private String ope_ver_fk;

	// Constructors

	/** default constructor */
	public Bis_pamId() {
	}


	/** full constructor */
	public Bis_pamId(String tool_id_fk, String mdl_id_fk, String path_id_fk, String path_ver_fk, String ope_no_fk,

			String ope_id_fk, String ope_ver_fk) {

		this.tool_id_fk = tool_id_fk;
		this.mdl_id_fk = mdl_id_fk;
		this.path_id_fk = path_id_fk;
		this.path_ver_fk = path_ver_fk;
		this.ope_no_fk = ope_no_fk;
		this.ope_id_fk = ope_id_fk;
		this.ope_ver_fk = ope_ver_fk;
	}

	// Property accessors

	public String getTool_id_fk() {
		return this.tool_id_fk;
	}

	public String getMdl_id_fk() {
		return this.mdl_id_fk;
	}

	public void setMdl_id_fk(String mdl_id_fk) {
		this.mdl_id_fk = mdl_id_fk;
	}

	public String getPath_id_fk() {
		return this.path_id_fk;
	}

	public void setPath_id_fk(String path_id_fk) {
		this.path_id_fk = path_id_fk;
	}

	public String getPath_ver_fk() {
		return this.path_ver_fk;
	}

	public void setPath_ver_fk(String path_ver_fk) {
		this.path_ver_fk = path_ver_fk;
	}

	public String getOpe_no_fk() {
		return this.ope_no_fk;
	}

	public void setOpe_no_fk(String ope_no_fk) {
		this.ope_no_fk = ope_no_fk;
	}

	public String getOpe_id_fk() {
		return this.ope_id_fk;
	}

	public void setOpe_id_fk(String ope_id_fk) {
		this.ope_id_fk = ope_id_fk;
	}

	public String getOpe_ver_fk() {
		return this.ope_ver_fk;
	}

	public void setOpe_ver_fk(String ope_ver_fk) {
		this.ope_ver_fk = ope_ver_fk;
	}


	public void setTool_id_fk(String tool_id_fk) {
		this.tool_id_fk = tool_id_fk;
	}


	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof Bis_pamId))
			return false;
		Bis_pamId castOther = (Bis_pamId) other;

		return ((this.getTool_id_fk() == castOther.getTool_id_fk()) || (this.getTool_id_fk() != null
				&& castOther.getTool_id_fk() != null && this.getTool_id_fk().equals(castOther.getTool_id_fk())))
				&& ((this.getMdl_id_fk() == castOther.getMdl_id_fk()) || (this.getMdl_id_fk() != null
						&& castOther.getMdl_id_fk() != null && this.getMdl_id_fk().equals(castOther.getMdl_id_fk())))
				&& ((this.getPath_id_fk() == castOther.getPath_id_fk()) || (this.getPath_id_fk() != null
						&& castOther.getPath_id_fk() != null && this.getPath_id_fk().equals(castOther.getPath_id_fk())))
				&& ((this.getPath_ver_fk() == castOther.getPath_ver_fk()) || (this.getPath_ver_fk() != null
						&& castOther.getPath_ver_fk() != null && this.getPath_ver_fk().equals(castOther.getPath_ver_fk())))
				&& ((this.getOpe_no_fk() == castOther.getOpe_no_fk()) || (this.getOpe_no_fk() != null
						&& castOther.getOpe_no_fk() != null && this.getOpe_no_fk().equals(castOther.getOpe_no_fk())))
				&& ((this.getOpe_id_fk() == castOther.getOpe_id_fk()) || (this.getOpe_id_fk() != null
						&& castOther.getOpe_id_fk() != null && this.getOpe_id_fk().equals(castOther.getOpe_id_fk())))
				&& ((this.getOpe_ver_fk() == castOther.getOpe_ver_fk()) || (this.getOpe_ver_fk() != null

						&& castOther.getOpe_ver_fk() != null && this.getOpe_ver_fk().equals(castOther.getOpe_ver_fk())));

	}

	public int hashCode() {
		int result = 17;

		result = 37 * result + (getTool_id_fk() == null ? 0 : this.getTool_id_fk().hashCode());
		result = 37 * result + (getMdl_id_fk() == null ? 0 : this.getMdl_id_fk().hashCode());
		result = 37 * result + (getPath_id_fk() == null ? 0 : this.getPath_id_fk().hashCode());
		result = 37 * result + (getPath_ver_fk() == null ? 0 : this.getPath_ver_fk().hashCode());
		result = 37 * result + (getOpe_no_fk() == null ? 0 : this.getOpe_no_fk().hashCode());
		result = 37 * result + (getOpe_id_fk() == null ? 0 : this.getOpe_id_fk().hashCode());
		result = 37 * result + (getOpe_ver_fk() == null ? 0 : this.getOpe_ver_fk().hashCode());
		return result;
	}

}